/*    */ package com.zimbra.cs.index.elasticsearch;
/*    */ 
/*    */ import com.google.common.base.Objects;
/*    */ import com.google.common.base.Objects.ToStringHelper;
/*    */ import com.zimbra.cs.index.ZimbraIndexDocumentID;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public final class ZimbraElasticDocumentID
/*    */   implements Comparable<ZimbraElasticDocumentID>, ZimbraIndexDocumentID
/*    */ {
/*    */   private final String docID;
/*    */   
/*    */   public ZimbraElasticDocumentID(String docID)
/*    */   {
/* 28 */     this.docID = docID;
/*    */   }
/*    */   
/*    */   public String getDocID() {
/* 32 */     return this.docID;
/*    */   }
/*    */   
/*    */   public String toString()
/*    */   {
/* 37 */     return Objects.toStringHelper(this).add("docID", this.docID).toString();
/*    */   }
/*    */   
/*    */   public int compareTo(ZimbraElasticDocumentID o)
/*    */   {
/* 42 */     return this.docID.compareTo(o.getDocID());
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/index/elasticsearch/ZimbraElasticDocumentID.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */